import {
	methods
} from "uview-ui/libs/mixin/mixin"

/**
 * 接口列表文件
 */
export default {
	common: {
		init: {
			url: "index/init",
			auth: false,
			method: "GET",
		},
		region: {
			url: "app2/region/queryRegions",
			auth: false,
			method: "post",
		},
		regions: {
			url: "app2/region/queryRegionsByChildren",
			auth: false,
			method: "post",
		},

	},
	user: {
		login: {
			url: "app3/consumer/loginConsumer",
			auth: false,
			method: "post",
		},
		reg: {
			url: "app3/consumer/registerConsumer",
			auth: false,
			method: "post",
		},
		code: {
			url: 'app3/consumer/sendMsg',
			auth: false,
			method: "get"
		},
		info: {
			url: 'app3/consumer/queryConsumerInfo',
			auth: true,
			method: 'post'
		},
		logout: {
			url: 'app3/consumer/quit',
			auth: true,
			method: 'post'
		},
		changePasswordByPhone: {
			url: 'app3/consumer/changePasswordByPhone',
			auth: true,
			method: 'post'
		},
		// 拉起微信授权登录
	
	},
	feedback: {
		saves: {
			url: 'app3/feedback/saveFeedback',
			auth: true,
			method: 'get'
		},
		query: {
			url: 'app3/feedback/queryFeedback',
			auth: true,
			method: 'post'
		}

	}


};
